package com.lzy.managersystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzy.managersystem.pojo.Article;

import java.util.List;

/**
 * @author lzy
 * @description 针对表【article】的数据库操作Service
 * @createDate 2022-07-24 15:51:45
 */
public interface ArticleService extends IService<Article> {

    //查询所有用户
    List<Article> getAllUser();

    //插入用户信息
    int insterUser(Article article);

    //根据id删除用户信息
    int deleteUser(Integer id);

    //更新用户
    int updateUser(Article article);

    int deleteBatchUser(List<Integer> ids);

    Article getArticleById(Integer id);
}
